package com.dissertation.service;

import com.dissertation.model.Assets;
import com.dissertation.pojo.Param;
import com.dissertation.pojo.UnwindCollections;

import java.util.List;

public interface IAssetsFindByKeyword {

    /**
     *
     * @param keyword1
     * @param keyword2
     * @param op true 执行 and , false 执行or
     * @return
     */
    List<Assets> findByKeyword( String keyword1, String keyword2, boolean op );

    List<Assets> findByKeywordAnd( String keyword1, String keyword2 );

    List<Assets> findByKeywordOr( String keyword1, String keyword2 );

    List<UnwindCollections> findByKeyword(String keyword,String adminID);

    List<Assets> findByParam(Param param);
}
